/**
 * 解析路由规则
 * @param {Array} routes 
 */
export default function createMatcher(routes) {

  function match() {

  }

  function addRoutes() {

  }

  return {
    match,
    addRoutes
  }
}